package com.zx.zxblog.entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.time.LocalDateTime;

@TableName(value ="t_sys_config")
@Data
public class SysConfig{
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 参数名
     */
    @NotBlank(message = "参数名不能为空")
    private String name;

    /**
     * 参数值
     */
    private String value;

    /**
     * 描述
     */
    private String description;



    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;
}